//import BinarySearchTree.Node;

	
	
	/************************************************************************
	 * Private inner class of Node 
	 * @author ldong
	 *
	 * @param <T>
	 */
	public class Node<T> {
		public Node<T> left;
		public Node<T> right;
		public T data;

		public Node(T data, Node<T> left, Node<T> right)
		{
			this.left = left;
			this.right = right;
			this.data = data;
		}
		
		public Node(T data) {
			left = null;
			right = null;
			this.data = data;
		}

		public Node() {
			this(null);
		}

		public T getData() {
			return data;
		}

		public void setData(T data) {
			this.data = data;
		}
		
		public String toString()
		{
			return " " + data;
		}
	}